package com.golden.zip.bean;

import java.util.Date;

import org.nutz.dao.DB;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Name;
import org.nutz.dao.entity.annotation.Prev;
import org.nutz.dao.entity.annotation.SQL;
import org.nutz.dao.entity.annotation.Table;

/**
* Title:Zip 
* Description:需求查询数据库字段对应 
* @author huiyu
* @date 2017年3月9日
 */
@Table("t_zip_file")
public class Zip {

    //主键
    @Name
    @Prev({
        @SQL(db = DB.ORACLE, value="SELECT SEQ_ZIP_FILE.nextval FROM dual")
        })
    private String id;
    //项目名称
    @Column("name")
    private String name;
    //服务器附件名称
    @Column("servername")
    private String serverName;
    //功能标识，0文件夹1文件
    @Column("mod_flag")
    private Integer modFlag;
    //父级id，文件夹id
    @Column("parent_id")
    private String parentId;
    //排序号
    @Column("order_id")
    private String orderId;
    //创建时间
    @Column("opertime")
    private Date operTime;
    //备注
    @Column("remark")
    private String remark;
    //源压缩包文件名称
    @Column("filename")
    private String filename;
    
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getServerName() {
        return serverName;
    }
    public void setServerName(String serverName) {
        this.serverName = serverName;
    }
    public Integer getModFlag() {
        return modFlag;
    }
    public void setModFlag(Integer modFlag) {
        this.modFlag = modFlag;
    }
    public String getParentId() {
        return parentId;
    }
    public void setParentId(String parentId) {
        this.parentId = parentId;
    }
    public String getOrderId() {
        return orderId;
    }
    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }
    public Date getOperTime() {
        return operTime;
    }
    public void setOperTime(Date operTime) {
        this.operTime = operTime;
    }
    public String getRemark() {
        return remark;
    }
    public void setRemark(String remark) {
        this.remark = remark;
    }
    public String getFilename() {
        return filename;
    }
    public void setFilename(String filename) {
        this.filename = filename;
    }
}
